<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <title>推广渠道商</title>
</head>
<body pname="<%=basePath%>">
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <table class="layui-hide" id="data-table" lay-filter="data-table"></table>

                    <script type="text/html" id="data-table-toolbar">
                        <div class="layui">
                            <label>搜索：</label>
                            <div class="layui-inline" style="width: 150px;">
                                <input type="text" id="keyword" placeholder="用户名/手机号/会员id" autocomplete="off" class="layui-input">
                            </div>
                            <button type="button" class="layui-btn" id="search" lay-event="search">
                                <i class="layui-icon">&#xe615;</i>搜索
                            </button>

                            <div class="layui-btn-container" style="float: right;">
                                <button class="layui-btn layui-btn-sm" lay-event="add">新增</button>
                            </div>
                        </div>
                    </script>

                    <script type="text/html" id="data-table-bar">
                        <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
                        <a class="layui-btn layui-btn-xs" lay-event="restPwd">重置密码</a>
                    </script>

                    <script type="text/html" id="typeTpl">
                        {{# if(d.type == 1){ }}
                            主播渠道
                        {{# }else if(d.type == 2){ }}
                            cps渠道
                        {{# }else if(d.type == 3){ }}
                            工会渠道
                        {{# }else{ }}
                            --
                        {{# } }}
                    </script>
                    <script type="text/html" id="statusTpl">
                        {{# if(d.status == 0){ }}
                            启用
                        {{# }else{ }}
                            禁用
                        {{# } }}
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="<%=path%>/js/promotemanage/channel/list.js?v=1.1.1"></script>
</body>
</html>
